package society.framework.core.communication;

import java.io.Serializable;

/**
 * Represents a message used to communicate between automatons.
 * @author Micu Andrei
 *
 */
public class Message implements Serializable{
	private static final long serialVersionUID = -4937248650604519438L;

	/**
	 * Name of the sender
	 */
	public String from;
	
	/**
	 * The transferred data
	 */
	public Object data;
	
	public Message(String from, Object data){
		this.from=from;
		this.data=data;
	}
}
